<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/maps/shanxi.js"></script>

</head>
<body>
    <div id="66d828214c1b448aa4ec6368f7a1e41b" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_66d828214c1b448aa4ec6368f7a1e41b = echarts.init(
            document.getElementById('66d828214c1b448aa4ec6368f7a1e41b'), 'white', {renderer: 'canvas'});
        var option_66d828214c1b448aa4ec6368f7a1e41b = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "map",
            "name": "\u5c71\u897f\u7701\u75ab\u60c5\u5730\u56fe",
            "label": {
                "show": true,
                "position": "top",
                "margin": 8
            },
            "mapType": "\u5c71\u897f",
            "data": [
                {
                    "name": "\u5883\u5916\u8f93\u5165\u5e02",
                    "value": 117
                },
                {
                    "name": "\u664b\u4e2d\u5e02",
                    "value": 41
                },
                {
                    "name": "\u592a\u539f\u5e02",
                    "value": 21
                },
                {
                    "name": "\u5927\u540c\u5e02",
                    "value": 12
                },
                {
                    "name": "\u8fd0\u57ce\u5e02",
                    "value": 19
                },
                {
                    "name": "\u5ffb\u5dde\u5e02",
                    "value": 7
                },
                {
                    "name": "\u664b\u57ce\u5e02",
                    "value": 10
                },
                {
                    "name": "\u957f\u6cbb\u5e02",
                    "value": 8
                },
                {
                    "name": "\u6714\u5dde\u5e02",
                    "value": 8
                },
                {
                    "name": "\u4e34\u6c7e\u5e02",
                    "value": 2
                },
                {
                    "name": "\u9633\u6cc9\u5e02",
                    "value": 4
                },
                {
                    "name": "\u5415\u6881\u5e02",
                    "value": 6
                }
            ],
            "roam": true,
            "aspectScale": 0.75,
            "nameProperty": "name",
            "selectedMode": false,
            "zoom": 1,
            "mapValueCalculation": "sum",
            "showLegendSymbol": true,
            "emphasis": {}
        }
    ],
    "legend": [
        {
            "data": [
                "\u5c71\u897f\u7701\u75ab\u60c5\u5730\u56fe"
            ],
            "selected": {
                "\u5c71\u897f\u7701\u75ab\u60c5\u5730\u56fe": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "padding": 5,
            "itemGap": 10
        }
    ],
    "visualMap": {
        "show": true,
        "type": "piecewise",
        "min": 0,
        "max": 100,
        "inRange": {
            "color": [
                "#50a3ba",
                "#eac763",
                "#d94e5d"
            ]
        },
        "calculable": true,
        "inverse": false,
        "splitNumber": 5,
        "orient": "vertical",
        "showLabel": true,
        "itemWidth": 20,
        "itemHeight": 14,
        "borderWidth": 0,
        "pieces": [
            {
                "min": 1,
                "max": 9,
                "label": "1-9\u4eba",
                "color": "#CCFFFF"
            },
            {
                "min": 10,
                "max": 99,
                "label": "10-99\u4eba",
                "color": "#FFFF99"
            },
            {
                "min": 100,
                "max": 499,
                "label": "99-499\u4eba",
                "color": "#FF9966"
            },
            {
                "min": 500,
                "max": 999,
                "label": "499-999\u4eba",
                "color": "#FF6666"
            },
            {
                "min": 1000,
                "max": 9999,
                "label": "1000-9999\u4eba",
                "color": "#CC3333"
            },
            {
                "min": 1000,
                "label": "1000\u4e07\u4eba\u4ee5\u4e0a",
                "color": "#990033"
            }
        ]
    }
};
        chart_66d828214c1b448aa4ec6368f7a1e41b.setOption(option_66d828214c1b448aa4ec6368f7a1e41b);
    </script>
</body>
</html>
